<html>

<head>
    <meta charset='utf-8' />
    <title>Compute Boids</title>
    <meta name='apple-mobile-web-app-capable' content='yes' />
    <meta name='full-screen' content='true' />
    <meta name='screen-orientation' content='portrait' />
    <meta name='x5-fullscreen' content='true' />
    <meta name='360-fullscreen' content='true' />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta name="viewport"
        content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <style>
        body {
            color: #cccccc;
            font-family: Monospace;
            font-size: 13px;
            text-align: center;
            background-color: #050505;
            margin: 0px;
            overflow: hidden;
        }
    </style>
</head>

<body>
    <div style="position: fixed;">
        <p>
            A GPU compute particle simulation that mimics the flocking behavior of birds. A compute shader updates two
            ping-pong buffers which store particle data. The data is used to draw instanced particles.
        </p>
    </div>

    <canvas id="webgpu" style="width: 100%; height: 100%;"></canvas>

    <script type="module" src="./index.ts"></script>
</body>

</html>